#ifndef  _UTILITY_H_
#define  _UTILITY_H_
#include "protocol.h"

#ifdef __cplusplus
extern "C"{
#endif
int get_dev_ip(char *dev_name, ip_t *p_ip);
int get_dev_mac(char *dev_name, mac_t *p_mac);
int get_gateway_ip(ip_t *p_ip);

#ifdef __cplusplus
}
#endif

#endif
